/**
 * Apr 2, 2011
 * 9:22:50 PM
 * Timiz
 * kukujun@gmail.com
 *cn.lastjune.dao.impltimiz-project-dpMissionImpl
 */
package cn.lastjune.dao.impl;

import org.springframework.stereotype.Repository;

import cn.lastjune.dao.MissionDao;
import cn.lastjune.pojo.Mission;

/**
 * @author Timiz
 *         kukujun@gmail.com
 */
@Repository
public class MissionImpl extends HibernateDao<Mission, String> implements MissionDao
{

    @Override
    public Mission getByID(String id)
    {
        return this.getUnique("FROM Mission m where m.tasknum = ?", id);
    }

}
